//
//  ImageCell.m
//  Ui-Lesson-21-03
//
//  Created by lanou3g on 15/11/30.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "ImageCell.h"

@implementation ImageCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self allViews];
    }
    return self;
}
-(void)allViews{
    self.imageView = [[UIImageView alloc]initWithFrame:self.frame];
    [self.contentView addSubview:self.imageView];
    




}

-(void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.frame = self.contentView.bounds ;
}

@end
